Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

MarkRead method need to send JSON in Request Body #99

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gdgd-server-admin
Copy link

Example Request send empty JSON in Request Body,but Mark Read method send nothing in Request Body.
See https://matrix.org/docs/spec/client_server/r0.6.0#post-matrix-client-r0-rooms-roomid-receipt-receipttype-eventid

@TheDiscordian
Copy link
Contributor

@gdgd-server-admin thanks for this PR! Does this resolve the error when sending read receipts?

code=400 wrapped=M_NOT_JSON: Content not JSON.

I recently started to get this error while using MarkRead. If your PR resolves that, then I say @kegsay please accept 🙏 ❤️

@gdgd-server-admin
Copy link
Author

@gdgd-server-admin thanks for this PR! Does this resolve the error when sending read receipts?

code=400 wrapped=M_NOT_JSON: Content not JSON.

I recently started to get this error while using MarkRead. If your PR resolves that, then I say @kegsay please accept 🙏 ❤️

I found it in Matterbridge ( https://github.com/42wim/matterbridge) and my local fix version work fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants